package com.qfedu.openplateform.szapi.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class RestTemplateConfig {

    @Bean// 将 RestTemplate 加入到容器中
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
